<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>My JSP starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  
	<link rel="stylesheet" type="text/css" href="wzp/css/eventaccept.css">
	<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> 
	<script type="text/javascript" src="js/jquery.alphanumeric.pack.js"></script>
	<script type="text/javascript" src="js/jquery.validate.pack.js"></script> 
	<script type="text/javascript" src="wzp/js/update.js"></script> 
	<script type="text/javascript" src="/ag/My97DatePicker/WdatePicker.js" defer="defer"></script>
	</head>
 
	<body>
	
	<form id="acceptForm" action="wzp/event_update.action" method="post" >
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="wzp/images/tab_03.gif" width="15" height="30" /></td>
        <td width="100%" background="wzp/images/tab_05.gif">
        	<img src="wzp/images/311.gif" width="16" height="16" /> 
        </td>
        <td width="14"><img src="wzp/images/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0"  cellspacing="0" >
      <tr>
        <td width="9" background="wzp/images/tab_12.gif">&nbsp;</td>
        <td bgcolor="#dceffd">
          <table  width="99%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#84b1d3" >
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">受理单号：</span><span id="eid"> ${event.EId }</span>
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">事件状态：</span>
            	<input id="submitContact" name="event.ESubmiterContact" 
            	value="${event.ESubmiterContact}" size="18" />
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">事件等级：</span>  
				<select id="eventLevel" name="event.tbEventLevel.elId"></select>
				<input id="elId" value="${event.tbEventLevel.elId}" type="hidden"/>
            </td>
            <td class="tdtab" width="33%"></td> 
          </tr>
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">报送方式：</span>
            	<select id="eventSource" name="event.tbEventSource.esId">
				</select>	
				<input id="esId" value="${event.tbEventSource.esId}" type="hidden">	
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">联系方式：</span>
            	<input id="submitContact" name="event.ESubmiterContact" 
            	value="${event.ESubmiterContact}" size="18" />
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">报送时间：</span>
            	<input id="submitTime" name="event.ESubmitTime" type="text" value="<s:date name="event.ESubmitTime" format="yyyy-MM-dd HH:mm:ss" />" 
            	class="Wdate" size="18" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
            </td>
          </tr>
           <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">报送人：</span>
				<span >
					<input id="submiter" name="event.ESubmiter" type="text" value="${event.ESubmiter}" size="18" /> </span>
            </td>
            <!--  
            <td class="tdtab" width="34%"><span class="tdspan">报送部门：</span>
            	<input type="text" name="event.ESubmitDept" value="${event.ESubmitDept}" size="18" />
            </td>
            -->
            <td class="tdtab" width="34%"><span class="tdspan">接报人：</span>
            	<input id="user" name="event.tbUser.UId"  value="${event.tbUser.UId}" type="hidden"> 
            	<span >${event.tbUser.UName}</span>
			</td>
			<td class="tdtab" width="33%"></td> 
          </tr>
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">事发地点：</span>
				<input id="eventAddr" name="event.EEventAddr" type="text" value="${event.EEventAddr}" size="25" />
				<button id="map"> 定位 </button>
			</td>
            <td class="dou tdtab" width="34%"><span class="tdspan">经度：</span>
            	<span >
					<input id="longitude" name="event.ELongitude"  type="text" value="${event.ELongitude}" size="18" /></span>
            </td>
            <td class="sample5 tdtab" width="33%"><span class="tdspan">纬度：</span>
            	<span >
            		<input id="latitude" name="event.ELatitude"  type="text" value="${event.ELatitude }" size="18" /></span>
				
            </td>
          </tr>
          <tr class="trtab">
            <td class="tdtab" width="33%"><span class="tdspan">事发时间：</span>
            	<input id="eventTime" name="event.EEventtime" type="text" value="<s:date name="event.EEventtime" format="yyyy-MM-dd HH:mm:ss" />" 
            	class="Wdate" size="18" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
			</td>
            <td class="tdtab" width="34%"><span class="tdspan">事件名称：</span> 
				<input id="eventName" name="event.EEventname" type="text" value="${event.EEventname }" size="18" />
            </td>
            <td class="tdtab" width="33%"><span class="tdspan">事件类型：</span> 
            	<select id="eventType" name="event.tbEventType.etId" >
				</select>
				<input id="etId" value="${event.tbEventType.etId}" type="hidden"/>
            </td>
          </tr>
          <tr class="trtab">
            <td class="num tdtab" width="33%"><span class="tdspan">死亡人数：</span>
           		<input id="death" name="event.EDeaths"  type="text" value="${event.EDeaths}" size="18" />
			</td>
            <td class="num tdtab" width="34%"><span class="tdspan">受伤人数：</span>
				<input id="injuries" name="event.EInjuries"  type="text" value="${event.EInjuries}" size="18" />
            </td>
            <td class="num tdtab" width="33%"><span class="tdspan">受困人数：</span>
				<input id="trapped" name="event.ETrapped"  type="text" value="${event.ETrapped}" size="18" />
            </td>
          </tr>
          <tr class="trtab">
            <td class="num tdtab" width="33%"><span class="tdspan">失踪人数：</span>
            	<input id="missing" name="event.EMissing"  type="text" value="${event.EMissing}" size="18" />
			</td>
            <td class="dou tdtab" width="34%"><span class="tdspan">经济损失：</span>
            	<input id="economicLoss" name="event.EEconomicLoss"  type="text" value="${event.EEconomicLoss}" size="18" />万元
				
            </td>
            
            <td class="tdtab" width="33%"></td> 
          </tr>
          <tr class="trtab">
		  	<td class="tdtab2" colspan="3">
				<span style="float: left; padding-top:20; width:104;text-align:right" >事件原因：</span>
		  		<span >
					<textarea id="eventCause" name="event.EEventCause" rows="5" style="width:100%" >${event.EEventCause }</textarea>
				</span>
			</td>
		  </tr>
		  <tr class="trtab">
		  	<td class="tdtab2" colspan="3">
		  		<span style="float: left; padding-top:20; width:104;text-align:right" >事件描述：</span>
		  		<span >
					<textarea id="eventDesc" name="event.EEventDesc" rows="5"  style="width:100%" >${event.EEventDesc }</textarea>
				</span>
			</td>
		  </tr>
		   <tr class="trtab">
		  	<td class="tdtab2" colspan="3">
		  		<span style="float: left; padding-top:20;width:104;text-align:right">已采取措施：</span>
		  		<span >
					<textarea id="takeMeasure" name="event.ETakeMeasure" rows="5" style="width:100%" >${event.ETakeMeasure }</textarea>
				</span>
			</td>
		  </tr>
          <tr class="trtab">
          	<td colspan="3" align="center">
          		<input type="submit" value="提交"/> 
          		<span style="padding-left:20">
          		<input type="reset" value="重置"/></span>
          	</td>
          </tr>
        </table></td>
        <td width="9" background="wzp/images/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="29"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="29"><img src="wzp/images/tab_20.gif" width="15" height="29" /></td>
        <td width="100%" background="wzp/images/tab_21.gif"> </td>
        <td width="14"><img src="wzp/images/tab_22.gif" width="14" height="29" /></td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
	</body>
</html>